package com.shangcheng.model.domain;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

//后台用户角色表
@Data
@AllArgsConstructor  //满参构造方法
@NoArgsConstructor   //无参构造方法
@TableName("ums_role")
public class UmsRole implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;  //名称
    private String description;   //描述
    private Integer adminCount;   //后台用户数量
    private Date createTime;  //创建时间
    private Integer status;  //启用状态：0->禁用；1->启用
    private Integer sort;
}
